//
//  NSDate+Utils.m
//  EBooking
//
//  Created by Xiaohui Chen on 13-6-19.
//  Copyright (c) 2013年 Team4.us. All rights reserved.
//

#import "NSDate+Utils.h"

@implementation NSDate (Utils)

static NSDateFormatter *dateFormatter = nil;

- (NSString *)shortTime //23:59
{
    if (dateFormatter == nil) {
        dateFormatter = [[NSDateFormatter alloc] init];
    }
    dateFormatter.dateFormat = @"HH:mm";
    return [dateFormatter stringFromDate:self];
}

@end
